package com.mobile.collect.beans;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 类名: ChildTypeInfo
 * 作者: 李学伟
 * 日期: 2020年09月23日 18:21
 * 描述:
 */
@Entity
public class TypeInfo {
    @Id
    private Long _ID;
    private String typeCode;
    private String typeName;
    private String childCode;
    private String childName;


    public TypeInfo(String typeCode, String typeName, String childCode, String childName) {
        this.typeCode = typeCode;
        this.typeName = typeName;
        this.childCode = childCode;
        this.childName = childName;
    }

    @Generated(hash = 86751174)
    public TypeInfo(Long _ID, String typeCode, String typeName, String childCode,
            String childName) {
        this._ID = _ID;
        this.typeCode = typeCode;
        this.typeName = typeName;
        this.childCode = childCode;
        this.childName = childName;
    }

    @Generated(hash = 1655550078)
    public TypeInfo() {
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getChildCode() {
        return childCode;
    }

    public void setChildCode(String childCode) {
        this.childCode = childCode;
    }

    public String getChildName() {
        return childName;
    }

    public void setChildName(String childName) {
        this.childName = childName;
    }

    public Long get_ID() {
        return this._ID;
    }

    public void set_ID(Long _ID) {
        this._ID = _ID;
    }
}
